<include file="../Public/header" />
<script data-main="__PUBLIC__/admin/js/page/admin/content/adminlog" src="__PUBLIC__/admin/js/lib/requirejs/require.js"></script>
</head>

<body>

  <div class="page">
    <div class="page-hd">
      <h1>{$Think.lang.adminlogManage}</h1>
    </div>
    <div class="filterbar">
      <form id="search" method="post">
        <label for="">ID</label>
        <input type="number" name="id" id="id" value="{$id}" class="input-text">
        <label for="">{$Think.lang.operatingUser}ID</label>
        <input type="number" name="uid" id="uid" value="{$uid}" class="input-text">
        <label for="">{$Think.lang.type}</label>
        <select id="type" name="type">
          <option value="0" <php>if($type == "") echo 'selected';</php>
            >{$Think.lang.selectType}
          </option>
          <option value="1" <php>if($type == 1) echo 'selected';</php>
            >{$Think.lang.create}
          </option>
          <option value="2" <php>if($type == 2) echo 'selected';</php>
            >{$Think.lang.delete}
          </option>
          <option value="3" <php>if($type == 3) echo 'selected';</php>
            >{$Think.lang.update}
          </option>
        </select>
        <button type="submit" class="btn-search" id="J_search" title="{$Think.lang.search}">
          <i class="icon-search"></i>
        </button>
      </form>
    </div>
    <div class="datas">
      <div class="datas-bd">
        <table class="table">
          <thead>
            <tr>
              <th style="width:10px">
                <input type="checkbox" class="toggle-all" />
              </th>
              <th style="">ID</th>
              <th style="">{$Think.lang.operatingUser}ID</th>
              <th style="">{$Think.lang.operatingUser}{$Think.lang.uname}</th>
              <th style="">{$Think.lang.operating}{$Think.lang.type}</th>
              <th style="">{$Think.lang.operatingPosition}</th>
              <th style="">{$Think.lang.operatingTime}</th>
              <th style="">{$Think.lang.operating}</th>
            </tr>
          </thead>
          <tbody>
            <volist id="vo" name="list">
              <tr data-id="{$vo.id}">
                <td>
                  <input type="checkbox" class="toggle" />
                </td>
                <td>{$vo.id}</td>
                <td>{$vo.uid}</td>
                <td>{$vo.uid}</td>
                <td>
                  <php>if( $vo['type'] == '1' )echo L('create'); if( $vo['type'] == '2' )echo L('delete'); if( $vo['type'] == '3' )echo L('update');</php>
                </td>
                <td>
                  <php>$arrInfo = unserialize($vo['data']); echo $arrInfo['0'];</php>
                </td>
                <td>{$vo.ctime|date="Y-m-d H:i",###}</td>
                <td><a href="{:URL('admin/Content/showAdminLog',array('id'=>$vo['id']))}" class="btn_a">{$Think.lang.showDetail}</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:;" class="A_del">{$Think.lang.delete}</a>
                </td>
              </tr>
            </volist>
          </tbody>
        </table>
      </div>
    </div>

    <div class="datas-ft">
      <div class="actions">
        <a href="javascript:;" class="btn" id="J_del">{$Think.lang.delRecords}</a>
      </div>
      <div class="pager">{$page}</div>
    </div>

  </div>
  </div>
</body>

</html>
